//
//  HTTPHepler.h
//  Food choices
//
//  Created by xalo on 16/2/26.
//  Copyright © 2016年 张广斌. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HTTPHepler : NSObject

//单例
+ (HTTPHepler *)sharedManager;


//请求数据
- (void)fetchDataWithUrl:(NSString *)url parameter:(NSMutableDictionary *)dict species:(NSInteger)species;


//返回数组数量
- (NSInteger)countofArrayWithSpecies:(NSInteger)species;


//返回对应的model
- (instancetype)modelOfSpecies:(NSInteger)species index:(NSInteger)index;


//根据species返回对应的数组
- (NSMutableArray *)arryWithSpecies:(NSInteger)species;



@end
